﻿using Sustainalytics.Entities;
using System;
using System.Collections.Generic;

namespace Sustainalytics.DataLayer
{
    public interface IMostRecentActivityRepository
    {
        /// <summary>
        /// Drop MostRecentActivity collection.
        /// </summary>
        void Drop();

        // <summary>
        /// Get MostRecentActivity paged list
        /// </summary>
        /// <param name="pagingOptions"></param>
        /// <returns></returns>
        List<MostRecentActivity> GetMostRecentActivity(List<int> accountUniverses, Guid userId, int? skip = null, int? take = null, string[] orderBy = null, bool orderByAsc = true);

        MostRecentActivity GetUserCompanyMostRecentActivity(List<int> accountUniverses, Guid userId, Guid companyId);

        /// <summary>
        /// Add MostRecentActivity
        /// </summary>
        /// <param name="portfolio"></param>
        MostRecentActivity AddMostRecentActivity(MostRecentActivity activity);
        MostRecentActivity SaveMostRecentActivity(MostRecentActivity activity);
    }
}
